package com.acceptable.qucun.generic.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties(value = "qucun.server")
public class ServerItem {
    @Value("cookie-domain")
    private String cookieDomain;

    @Value("cookie-path")
    private String cookiePath;
}
